package aod.android.com.bernay.mine.module;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author crated by zhixianuanyang on 2019/4/8 14:14
 * @Email jamesKing0812@gmail.com
 */
public class DynamicBean implements Serializable {

    //视频和图片类型
    private boolean isAlbum;
    //审核状态
    private String auditStatus;
    //点赞数量
    private String thumbsUp;
    //回复数量
    private String replyMessage;
    //文本内容
    private String textContent;
    //发布时间
    private String releaseTime;
    //图片地址
    private String imageUrl;
    //视频链接
    private String videoLink;
    //图片数组
    private ArrayList<String> pictureArray = new ArrayList<>();


    public DynamicBean(boolean isAlbum, String auditStatus, String thumbsUp, String replyMessage, String textContent,String releaseTime, String imageUrl,String videoLink, ArrayList<String> pictureArray) {
        this.isAlbum = isAlbum;
        this.auditStatus = auditStatus;
        this.thumbsUp = thumbsUp;
        this.replyMessage = replyMessage;
        this.textContent = textContent;
        this.releaseTime = releaseTime;
        this.imageUrl = imageUrl;
        this.videoLink = videoLink;
        this.pictureArray = pictureArray;
    }

    public boolean isAlbum() {
        return isAlbum;
    }

    public void setAlbum(boolean album) {
        isAlbum = album;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public void setThumbsUp(String thumbsUp) {
        this.thumbsUp = thumbsUp;
    }

    public void setReplyMessage(String replyMessage) {
        this.replyMessage = replyMessage;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }


    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public void setVideoLink(String videoLink) {
        this.videoLink = videoLink;
    }

    public void setPictureArray(ArrayList<String> pictureArray) {
        this.pictureArray = pictureArray;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public String getThumbsUp() {
        return thumbsUp;
    }

    public String getReplyMessage() {
        return replyMessage;
    }

    public String getTextContent() {
        return textContent;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getVideoLink() {
        return videoLink;
    }

    public ArrayList<String> getPictureArray() {
        return pictureArray;
    }

    @Override
    public String toString() {
        return "DynamicBean{" +
                "auditStatus='" + auditStatus + '\'' +
                ", thumbsUp='" + thumbsUp + '\'' +
                ", replyMessage='" + replyMessage + '\'' +
                ", textContent='" + textContent + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                ", videoLink='" + videoLink + '\'' +
                ", pictureArray=" + pictureArray +
                '}';
    }

    public static List<DynamicBean> mDynamicBeans = new ArrayList<>();
    private static ArrayList<String> mAblumList = new ArrayList<>();


    static {
        DynamicBean dynamicBean = new DynamicBean(false,"1","101","2332",
                "旅游视频欣赏：贵州黄果树瀑布！","2019.04.12",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-17_17-30-43.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-17_17-33-30.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean);
        DynamicBean dynamicBean1 = new DynamicBean(true,"0","33","101",
                "旅游视频欣赏：四川九寨沟风景区！","2019.04.13",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-10_10-09-58.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-10_10-20-26.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean1);
        DynamicBean dynamicBean2 = new DynamicBean(true,"1","123","220",
                "旅游视频欣赏：上海外滩城市风景区！","2019.04.14",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-03_12-52-08.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/05/2017-05-10_10-20-26.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean2);
        DynamicBean dynamicBean3 = new DynamicBean(false,"0","221","111",
                "旅游视频欣赏：北京故宫长城风景区！","2019.04.15",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-21_16-37-16.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-21_16-41-07.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean3);
        DynamicBean dynamicBean4 = new DynamicBean(true,"1","995","23232",
                "旅游视频欣赏：西藏纳木错湖泊！","2019.04.16",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-28_18-18-22.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-28_18-20-56.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean4);
        DynamicBean dynamicBean5 = new DynamicBean(false,"0","3","991",
                "旅游视频欣赏：美国尼亚加拉大瀑布！","2019.04.17",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-26_10-00-28.jpg",
                "http://tanzi27niu.cdsb.mobi/wps/wp-content/uploads/2017/04/2017-04-26_10-06-25.mp4",
                mAblumList);
        mDynamicBeans.add(dynamicBean5);
        mAblumList.add("http://pic69.nipic.com/file/20150608/9252150_134415115986_2.jpg");
        mAblumList.add("http://pic37.nipic.com/20140110/17563091_221827492154_2.jpg");
        mAblumList.add("http://pic69.nipic.com/file/20150608/9252150_134415115986_2.jpg");
    }
}
